package com.competition.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;
import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Entity
@Table(name = "equipment_audit")//预约表
public class EquipmentAudit  {

    @Id
    @Column(name = "audit_id")
    private String auditId;

    @Column(name = "equipment_id")
    private String equipmentId;

    @Column(name = "audit_status")
    private String auditStatus;

    @Column(name = "audit_tips")
    private String auditTips;

    @Column(name = "audit_count")
    private Integer auditCount;

    @Column(name = "user_id")
    private String userId;

    @TableField(exist = false)
    private EquipmentLeasing equipmentLeasing;

    @TableField(exist = false)
    private User user;

}
